home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1997 / MacHack 1997.toast / Hacks / Hacks ’96 / Talking Telnet / source / Headers / dialog_resrcdefs.h next >
C/C++ Source or Header  |  1996-06-22  |  7KB  |  193 lines

  1. /*================================================================================*/
  2. /*================================================================================*/
  3. /*    #defines for ALRT and DITL resources */
  4.  
  5. #define    MemoryLowAlert    200    // Preloaded, unpurgable alert to tell the user memory is tight
  6.  
  7. /*    #defines for the DLOG and DITL resources */
  8.  
  9. #define    DLOGOk        1
  10. #define DLOGCancel    2
  11.  
  12. #define RESOLVERERROR    128
  13.  
  14. //list modal dialog
  15. #define    kItemDLOG    150
  16. #define    kRemove        2
  17. #define    kChange        3
  18. #define    kNew        4
  19. #define    kItemList    5
  20. #define    kDuplicate    6
  21.  
  22. #define kBadPrefNameDLOG 151    //when a name for a session or terminal is a duplicate
  23. #define    FATALCANCEL_ID    160        // Fatal Cancel Alert
  24. #define    FATAL_ID        170        // Fatal Alert
  25. #define OPFAILED_ID        175        // Operation Failed Alert
  26. #define    ASKUSER_ID        180        // Ask user an OK/CANCEL question ALERT
  27.  
  28. #define    WinTitlDLOG        190        // Change window title DLOG
  29. #define    kWinNameTE        3        // Window Name TextEdit
  30.  
  31. #define    DNRErrorDLOG    195        // DNR error occurred.
  32.  
  33. #define    MyIPDLOG        259
  34.  
  35. #define    StatusDLOG        270        // "Machine" is currently being "opened/looked up"
  36.  
  37. #define SetupDLOG        273        /*  Setup keys interface */
  38. #define killbox            4
  39. #define stopbox            5
  40. #define startbox        6
  41.  
  42. #define    NewCnxnDLOG        280
  43. #define    NCconnect        1
  44. #define    NCcancel        2
  45. #define    NChostname        4
  46. #define    NCwindowname    6
  47. #define    NCsesspopup        7
  48. #define NCauthenticate    8
  49. #define NCencrypt        9
  50. #define NCtermpopup        11
  51. #define TermPopupMenu    1004    
  52. #define SessPopupMenu    1005    
  53.  
  54. #define    ConnFalDLOG        303
  55.  
  56. #define MacroDLOG        500        /* The Macros dialog */
  57. #define MacroImport        23
  58. #define MacroExport        24
  59.  
  60. #define    AboutDLOG        501
  61. #define OopsDLOG        640
  62. #define    FirstDLOG        1023
  63.  
  64. #define    ColorDLOG        1001    /* Connection color selection dialog */
  65. #define    ColorNF            3
  66. #define    ColorNB            4
  67. #define    ColorBF            5
  68. #define    ColorBB            6
  69.  
  70. #define ANSIColorDLOG   1002
  71. #define    ANSIRed            3
  72. #define    ANSIGreen        4
  73. #define    ANSIYellow        5
  74. #define    ANSIBlue        6
  75. #define    ANSIMagenta        7
  76. #define    ANSICyan        8
  77. #define    ANSIWhite        9
  78.  
  79.  
  80.  
  81. #define    CloseDLOG        2001    /* The Close Confirmation Dialog */
  82.  
  83. #define WDSET_DLOG        4001
  84.  
  85. #define    SizeDLOG        5500    /* The number of lines config dialog ----------- */
  86. #define    ColumnsNumber    4        /* NCSA: SB - User given # of columns */
  87. #define    LinesNumber        6        /* User given # of lines */
  88.  
  89. #define OtherFontDLOG    290
  90. #define FontSizeTE        4
  91.  
  92. #define    PrefDLOG    7001            /* The Preferences Dialog        ---------------- */
  93. #define PrefDClose                3    /* Don't close the window on "Close" */
  94. #define PrefStag                4    /* Staggered Windows? */
  95. #define PrefCMDkey                5    /* Command keys */
  96. #define PrefTMap                6    /* Shall we map the tilde? */
  97. #define    PrefKeyFuncMenus        7    /* Show Keypad and Function menus? */
  98. #define PrefBlink               8    /* Blink the cursor? */
  99. #define PrefBlockCursor           9    /* Display a block cursor? */
  100. #define PrefUnderscoreCursor    10    /* Display an underscore cursor? */
  101. #define PrefVerticalCursor        11    /* Display a vertical line cursor? */
  102. #define PrefCTt                    14    /* Copy table threshold */
  103. #define PrefTimeSlice            20    /* Multifinder Time Slice TxtEdit */
  104. #define PrefCaptCreat            16    /* Capture File Creator Button */
  105. #define    PrefCaptTE                24    /* Capture File Creator TE */
  106. #define PrefAnsiColor            23  // Select ANSI Color Button
  107. #define PrefStaggerOffset        21  //TE box for amount to stagger
  108. #define PrefStaggerBY            25  //static text 'by'
  109. #define PrefNotifyUser            12    //Notify user CheckBox
  110. #define PrefOpenTime            18    /* Open Connection Timeout TE (in seconds) */
  111. #define PrefSendTime            15  /* Send Connection Timeout TE (in seconds) */
  112. #define PrefDestroyTickets        13  //destroy kerberos tickets checkbox
  113. #define FTPDLOG        7002            /* The FTP config Dialog        ---------------- */
  114. #define    FTPServerOff            3    /* FTP server off button */
  115. #define FTPServerUnsecure        4    /* FTP server ON Unsecure button */
  116. #define FTPServerPswdPlease        5    /* FTP server Passwords Required */
  117. #define FTPShowFTPlog            6    /* FTP show FTP log on startup */
  118. #define FTPrevDNS                7    /* FTP reverse DNS IP of connection hosts */
  119. #define FTPUseMacBinaryII        8    /* FTP Use Macbinary II */
  120. #define FTPResetMacBinary        9    /* FTP Reset Macbinary after each ftp */
  121. #define FTPISO                    10    /* FTP ISO checkbox */
  122. #define FTPbintypeTE            11    /* FTP binary filetype TextEdit */
  123. #define FTPbincreatTE            12    /* FTP binary creator type TextEdit */
  124. #define FTPbinexamplebutton        13    /* FTP binary example file selection button */
  125. #define FTPtextcreatTE            14    /* FTP text creator type TextEdit */ 
  126. #define FTPtextcreatorbutton    15    /* FTP TEXT file creator selection button */
  127.  
  128. #define TermDLOG    7003            /* The Terminal Config Dialog    ---------------- */
  129. #define TermANSI                24    /* ANSI escape sequences checkbox */
  130. #define TermXterm                25    /* Xterm escape sequences checkbox */
  131. #define Termvtwrap                26    /* Use vtwrap mode checkbox*/
  132. #define TermMetaIsCmdCntrol        35    /* Use control-cmd as meta */
  133. #define TermMetaIsOption        36    // use option as meta
  134. #define TermMetaIsOff            37    // no meta
  135. #define Termarrow                28    /* Use emacs arrow keys checkbox */
  136. #define TermMAT                    29    /* Map pgup, etc. checkbox */
  137. #define Termeightbit            30    /* Eight bit connection */
  138. #define Termclearsave            31    /* Clear screen saves lines */
  139. #define TermRemapKeypad            32
  140. #define TermVT100                33    /* VT-100 emulation radio button */
  141. #define TermVT220                34    /* VT-220 emulation radio button */
  142. #define TermName                18    /* Terminal configuration name TE */
  143. #define TermWidth                14    /* Terminal width TE */
  144. #define TermHeight                16    /* Terminal height TE */
  145. #define TermFontSize            21    /* Font size TE */
  146. #define TermScrollback            23    /* Scrollback TE */
  147. #define TermAnswerback            12    /* Answerback TE */
  148. #define TermNFcolor                3    /* NF color user item */
  149. #define TermNBcolor                4    /* NB color user item */
  150. #define TermBFcolor                5    /* BF color user item */
  151. #define TermBBcolor                6    /* BB color user item */
  152. //#define TermUFcolor                23    /* UF color user item */
  153. //#define TermUBcolor                24    /* UB color user item */
  154. #define    TermFontPopup            20    /* Font menu popup item */
  155. #define    TermNameStatText        17
  156. #define    TermSafeItem            17
  157.  
  158. #define SessionConfigDLOG    7004    /* The Session Config Dialog    ---------------- */
  159. #define    SessTEKinhib            3    /* Inhibit TEK radio button */
  160. #define SessTEK4014                4    /* TEK 4014 radio button */
  161. #define    SessTEK4105                5    /* TEK 4105 radio button */
  162. #define    SessPasteQuick            6
  163. #define    SessPasteBlock            7
  164. #define    SessDeleteDel            8
  165. #define    SessDeleteBS            9
  166. #define    SessForceSave            10
  167. #define    SessBezerkeley            11
  168. #define    SessLinemode            12
  169. #define    SessTEKclear            13
  170. #define    SessHalfDuplex            14
  171. #define    SessAuthenticate        15
  172. #define SessEncrypt                16
  173. #define SessLocalEcho            17
  174. #define    SessAlias                18
  175. #define SessHostName            19
  176. #define    SessPort                20
  177. #define SessBlockSize            21
  178. #define    SessInterrupt            22
  179. #define    SessSuspend                23
  180. #define    SessResume                24
  181. #define    SessTermPopup            25
  182. #define    SessTransTablePopup        26
  183. #define    SessSafeItem            27
  184. #define    SessAliasStatText        28
  185. #define SessBlockSizeTE            39
  186.  
  187. #define FTPUserDLOG            7005    /* The FTP User Config Dialog   ---------------- */
  188. #define    FTPUcanchangeCWD        3    /* User can change WD checkbox */
  189. #define FTPUusername            4    /* Username TE */
  190. #define FTPUpassword            5    /* User's password */
  191. #define    FTPUDfltDirDsply        6    /* User's default dir path display */
  192. #define    FTPUDfltDirButton        7    /* Button to change user's default dir */
  193.